import { lazy } from 'react'
const About = lazy(() => import('../components/about'))
const Home = lazy(() => import('../components/home'))
const routes = [
  {
    name: 'home',
    path: '/home',
    component: Home
  },
  {
    name: 'about',
    path: '/about',
    component: About
  }
]
export default routes
